package com.sz.pojo;


import com.baomidou.mybatisplus.annotation.TableId;

public class User {

  @TableId
  private int userid;
  private String name;
  private String username;
  private String password;
  private int authority;
  private String remarks;

  public User() {
  }

  public User(String name, String username, String password) {
    this.name = name;
    this.username = username;
    this.password = password;
  }

  public User(int userid, String name, String username, String password) {
    this.userid = userid;
    this.name = name;
    this.username = username;
    this.password = password;
  }

  public User(String name, String username, String password, int authority, String remarks) {
    this.name = name;
    this.username = username;
    this.password = password;
    this.authority = authority;
    this.remarks = remarks;
  }

  public User(int userid, String name, String username, String password, int authority, String remarks) {
    this.userid = userid;
    this.name = name;
    this.username = username;
    this.password = password;
    this.authority = authority;
    this.remarks = remarks;
  }

  public int getUserid() {
    return userid;
  }

  public void setUserid(int userid) {
    this.userid = userid;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public int getAuthority() {
    return authority;
  }

  public void setAuthority(int authority) {
    this.authority = authority;
  }


  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  @Override
  public String toString() {
    return "User{" +
            "userid=" + userid +
            ", name='" + name + '\'' +
            ", username='" + username + '\'' +
            ", password='" + password + '\'' +
            ", authority=" + authority +
            ", remarks='" + remarks + '\'' +
            '}';
  }
}
